GENCODE_METHOD

SoftwareShield Web-Activator > Web-Activator Communication > Web-Activator Configuration File Specifiers > GENCODE_METHOD

## GENCODE_METHOD

You should already have a good understanding of Web-Activator Communication and Web-Activator Configuration File Usage.

The GENCODE_METHOD parameter specifies the HTTP method(s) to which to respond to a request, separated by commas.

###### Behaviour:

- The Web-Activator will only respond to requests that come in using the specified HTTP method header.

###### Allowable Values:

- GET
  A request for information associated with the target URL.
  This corresponds to a method header of GET.

- POST
  A request that the application post the content of the request, as appropriate.
  This corresponds to a method header of POST.

- HEAD
  A request for the properties of the response message, but not its content.
  This corresponds to a method header of HEAD.

- ANY
  This indicates any method header (including any of the above)

###### Default:

- GET

###### Examples:

- GENCODE_METHOD=GET,POST

- GENCODE_METHOD=ALL